<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateSystemsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('systems', function (Blueprint $table) {
            $table->id();
            $table->string('name')->nullable()->comment('网站名称');
            $table->string('recodeNo')->nullable()->comment('备案号');
            $table->string('logo')->nullable()->comment('网站logo');
            $table->string('mobile')->nullable()->comment('联系电话');
            $table->string('workingDay')->nullable()->comment('工作时间');
            $table->string('address')->nullable()->comment('公司地址');
            $table->text('introduce')->nullable()->comment('公司简介');
            $table->string('email')->nullable()->comment('客服邮箱');
            $table->string('wechat')->nullable()->comment('微信公众号');
            $table->string('website')->nullable()->comment('链接站点');
            $table->string('qq')->nullable()->comment('qq客服');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('systems');
    }
}
